# -*- coding: utf-8 -*-
from flask import current_app

from ihome.api_1_0 import api


@api.route('/index')
def index():
    current_app.logger.error("error msg")
    current_app.logger.warn("error msg")
    current_app.logger.info("error msg")
    current_app.logger.debug("error msg")
    return 'index_page'
